/* ex: set tabstop=4 shiftwidth=4 expandtab: */
#ifndef _CRYPTO_H
#define _CRYPTO_H

#include <openssl/aes.h>

extern void aes_cbc_encrypt(AES_KEY *key, unsigned char *src, unsigned char *dst, int size);

extern void aes_cbc_decrypt(AES_KEY *KEY, unsigned char *src, unsigned char *dst, int size);

extern void crypto_init(void);

extern void crypto_encrypt(unsigned char *src, unsigned char *dst, int size);

extern void crypto_decrypt(unsigned char *src, unsigned char *dst, int size);

#endif
